package com.example.sunsg.okhttptest.bean;

/**
 * @description 加载本地图片Item
 * @author susng 2016.2.29
 */
public class LocalItem {
        public static final int TYPE_NONE = -1;
        public static final int TYPE_ALL_IMAGES = 0;
        public static final int TYPE_CAMERA_IMAGES = 2;

        public static final int TYPE_NORMAL_FOLDERS = 5;

        public final int mType;
        public final String mBucketId;
        public final String mName;
        public final Image mImage;

        public final int mCount;

        public LocalItem(int type, String bucketId, String name, Image image,
                         int count) {
            mType = type;
            mBucketId = bucketId;
            mName = name;
            mImage = image;
            mCount = count;
        }

        public boolean needsBucketId() {
            return mType >= TYPE_CAMERA_IMAGES;
        }
    }